<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <!-- 设置视口标签 -->
  <meta name="viewport" content="width=device-width，user-scalable=no,
      initial-scale=1.0,maximum-scale=1.0, minimum-scale=1.0">
  <!-- 引入css初始化文件 -->
  <link rel="stylesheet" href="css/normalize.css">
  <!-- 引入swiper 插件的css -->
  <link rel="stylesheet" href="css/swiper.min.css">
  <link rel="stylesheet" href="css/swiper-bundle.min.css">
  <!-- 引入首页的css -->
  <link rel="stylesheet" href="css/index.css">

  <!-- 引入swiper插件的js -->
  <script src="js/swiper.min.js"></script>
  <script src="js/swiper-bundle.min.js"></script>
  <!-- 引入flexible.js文件 -->
  <script src="js/flexible.js"></script>
  <title>黑马面面项目首页</title>
</head>

<body>
  <section class="warp">
    <header class="header">黑马面面</header>
    <nav class="nav">
      <a href="#">
        <!-- 采用img 而不采用span盒子插入背景图  这样修改肥肠的方便
          不然的话css要给每个a下面的第一个盒子起个类名插入不同的图片 
          现在img操作减少了css的代码 -->
        <img src="./icons/icon1.png" alt="">
        <span>HR面试</span>
      </a>
      <a href="#">
        <img src="./icons/icon2.png" alt="">
        <span>笔试</span>
      </a>
      <a href="#">
        <img src="./icons/icon3.png" alt="">
        <span>技术面试</span>
      </a>
      <a href="#">
        <img src="./icons/icon4.png" alt="">
        <span>模拟面试</span>
      </a>
      <a href="#">
        <img src="./icons/icon5.png" alt="">
        <span>面试技巧</span>
      </a>
      <a href="#">
        <img src="./icons/icon6.png" alt="">
        <span>薪资查询</span>
      </a>
    </nav>
    <div class="go">
      <img src="./images/go.png" alt="">
    </div>
  </section>
  <!-- 就业指导 -->
  <section class="content">
    <div class="content-hd">
      <h4>
        <img src="./icons/i2.png" alt="">
        就业指导</h4>
      <a href="#">更多>></a>
    </div>
    <div class="get_job_focus">
      <!-- Swiper -->
      <div class="swiper-container interview">
        <div class="swiper-wrapper">
          <div class="swiper-slide">
            <a href="#"> <img src="./images/pic.png" alt=""></a>
            <p>老师教你应对面试技巧</p>
          </div>
          <div class="swiper-slide">
            <a href="#"> <img src="./images/ldh.jpg" alt=""></a>
            <p>老师教你应对面试技巧</p>
          </div>
          <div class="swiper-slide">
            <a href="#"> <img src="./images/3.jpg" alt=""></a>
            <p>老师教你应对面试技巧</p>
          </div>

        </div>
      </div>
      <!-- 根据需求 把箭头拿到外面来 -->
      <!-- Add Arrows 添加左右箭头 -->
      <div class="swiper-button-next"></div>
      <div class="swiper-button-prev"></div>
    </div>
  </section>
  <!-- 充电学习 -->
  <section class="content">
    <div class="content-hd">
      <h4>
        <img src="./icons/i1.png" alt="">
        充电学习</h4>
      <a href="#">更多>></a>
    </div>
    <div class="study">
      <div class="swiper-container study_fo">
        <div class="swiper-wrapper">
          <div class="swiper-slide">
            <a href="#">
              <img src="./images/pic1.png" alt="">
              <h4>说低调英语，告别中式学习</h4>
              <span>156人学习</span>
            </a>
          </div>
          <div class="swiper-slide">
            <a href="#">
              <img src="./images/pic2.png" alt="">
              <h4>说低调英语，告别中式学习</h4>
              <span>156人学习</span>
            </a>
          </div>
          <div class="swiper-slide">
            <a href="#">
              <img src="./images/pic1.png" alt="">
              <h4>说低调英语，告别中式学习</h4>
              <span>156人学习</span>
            </a>
          </div>
          <div class="swiper-slide">
            <a href="#">
              <img src="./images/pic2.png" alt="">
              <h4>说低调英语，告别中式学习</h4>
              <span>156人学习</span>
            </a>
          </div>
          <div class="swiper-slide">
            <a href="#">
              <img src="./images/pic1.png" alt="">
              <h4>说低调英语，告别中式学习</h4>
              <span>156人学习</span>
            </a>
          </div>

        </div>
      </div>
    </div>

  </section>
  <footer class="footer">
    <a href="#">
      <img src="./icons/home.png" alt="">
      <span>首页</span>
    </a>
    <a href="#">
      <img src="./icons/net.png" alt="">
      <span>技术面试</span>
    </a>
    <a href="#">
      <img src="./icons/ms.png" alt="">
      <span>模拟面试</span>
    </a>
    <a href="#">
      <img src="./icons/user.png" alt="">
      <span>我的主页</span>
    </a>
  </footer>
  <script>
    var swiper = new Swiper('.interview', {
      // 能够显示的个数
      slidesPerView: 2,
      // 每个slipe之前的距离
      spaceBetween: 30,
      // 把最大的盒子放在中间显示
      centeredSlides: true,
      loop: true,
      //添加左右箭头
      navigation: {
        nextEl: '.swiper-button-next',
        prevEl: '.swiper-button-prev',
      },
    });


    //  如果有多个轮播图最好修改下 swiper-container
    var swiper = new Swiper('.study_fo', {
      slidesPerView: 2.2,
      spaceBetween: 20,
    });

  </script>

</body>

</html>